\hypertarget{classTaskDescriptor}{
\section{TaskDescriptor Class Reference}
\label{classTaskDescriptor}\index{TaskDescriptor@{TaskDescriptor}}
}
\hyperlink{classTaskDescriptor}{TaskDescriptor} class represents a single tasks that some \hyperlink{classUI}{UI} submits to the distributed system.  


{\tt \#include $<$taskdescriptor.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{classTaskDescriptor_1d654a7aeb65c536f7c080488e1213eb}{
\hyperlink{classTaskDescriptor_1d654a7aeb65c536f7c080488e1213eb}{TaskDescriptor} (void)}
\label{classTaskDescriptor_1d654a7aeb65c536f7c080488e1213eb}

\begin{CompactList}\small\item\em Default Constructor. \item\end{CompactList}\item 
\hyperlink{classTaskDescriptor_3955ac839d8e98407cde0db5b86347f4}{TaskDescriptor} (int id)
\begin{CompactList}\small\item\em Constructor specifying current \hyperlink{classTaskDescriptor}{TaskDescriptor} ID. \item\end{CompactList}\item 
\hyperlink{classTaskDescriptor_cf252871f2ec98b6bc29e48c73f3fbf9}{TaskDescriptor} (int ID, \hyperlink{taskdescriptor_8h_c6f96e766a28c549ad96f9d8398b85fd}{TaskTYPE} type, const std::string \&cmd, const std::string \&link)
\begin{CompactList}\small\item\em Constructor specifying current \hyperlink{classTaskDescriptor}{TaskDescriptor}, TaskTYPE , Command and Link. \item\end{CompactList}\item 
\hypertarget{classTaskDescriptor_c2f15b2deea599f8324cc7e102e20323}{
\hyperlink{classTaskDescriptor_c2f15b2deea599f8324cc7e102e20323}{$\sim$TaskDescriptor} ()}
\label{classTaskDescriptor_c2f15b2deea599f8324cc7e102e20323}

\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
int \hyperlink{classTaskDescriptor_e033e3804ac2ca8c2f5f740d75f36b92}{getID} (void) const 
\begin{CompactList}\small\item\em Returns current \hyperlink{classTaskDescriptor}{TaskDescriptor} id. \item\end{CompactList}\item 
void \hyperlink{classTaskDescriptor_5c94900bc6fa285522306d1615af4dc7}{setID} (int val)
\begin{CompactList}\small\item\em Set current \hyperlink{classTaskDescriptor}{TaskDescriptor} id. \item\end{CompactList}\item 
\hyperlink{taskdescriptor_8h_c6f96e766a28c549ad96f9d8398b85fd}{TaskTYPE} \hyperlink{classTaskDescriptor_c86a5527bb87c34d3e55ebbf8306d2df}{getType} (void) const 
\begin{CompactList}\small\item\em Returns current \hyperlink{classTaskDescriptor}{TaskDescriptor} type according to TaskTYPE enum. \item\end{CompactList}\item 
void \hyperlink{classTaskDescriptor_42595b9d380f89f921a1007769803af3}{setType} (\hyperlink{taskdescriptor_8h_c6f96e766a28c549ad96f9d8398b85fd}{TaskTYPE} val)
\begin{CompactList}\small\item\em Set current \hyperlink{classTaskDescriptor}{TaskDescriptor} type to the provided one, according to TaskTYPE enum. \item\end{CompactList}\item 
const std::string \& \hyperlink{classTaskDescriptor_8f3df5c3e6e0ca602956c4b0c74dc930}{getCommand} (void) const 
\begin{CompactList}\small\item\em Returns current \hyperlink{classTaskDescriptor}{TaskDescriptor} command string. \item\end{CompactList}\item 
void \hyperlink{classTaskDescriptor_f965e5b1bb137263e37cd97b0fff4e2b}{setCommand} (const std::string \&val)
\begin{CompactList}\small\item\em Set current \hyperlink{classTaskDescriptor}{TaskDescriptor} command string to the provided one. \item\end{CompactList}\item 
const std::string \& \hyperlink{classTaskDescriptor_3ab852fcc3cfd982b9e3136258be0084}{getLink} (void) const 
\begin{CompactList}\small\item\em Returns current \hyperlink{classTaskDescriptor}{TaskDescriptor} link string. \item\end{CompactList}\item 
void \hyperlink{classTaskDescriptor_6a5bdc4ea91a1281a815406484a6e80b}{setLink} (const std::string \&val)
\begin{CompactList}\small\item\em Set current \hyperlink{classTaskDescriptor}{TaskDescriptor} link string to the provided one. \item\end{CompactList}\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
\hypertarget{classTaskDescriptor_c98d07dd8f7b70e16ccb9a01abf56b9c}{
class \textbf{boost::serialization::access}}
\label{classTaskDescriptor_c98d07dd8f7b70e16ccb9a01abf56b9c}

\item 
\hypertarget{classTaskDescriptor_df8ddefef9436fd0cc0fe1291c3f54d3}{
std::ostream \& \textbf{operator$<$$<$} (std::ostream \&os, const \hyperlink{classTaskDescriptor}{TaskDescriptor} \&ts)}
\label{classTaskDescriptor_df8ddefef9436fd0cc0fe1291c3f54d3}

\end{CompactItemize}


\subsection{Detailed Description}
\hyperlink{classTaskDescriptor}{TaskDescriptor} class represents a single tasks that some \hyperlink{classUI}{UI} submits to the distributed system. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classTaskDescriptor_3955ac839d8e98407cde0db5b86347f4}{
\index{TaskDescriptor@{TaskDescriptor}!TaskDescriptor@{TaskDescriptor}}
\index{TaskDescriptor@{TaskDescriptor}!TaskDescriptor@{TaskDescriptor}}
\subsubsection[TaskDescriptor]{\setlength{\rightskip}{0pt plus 5cm}TaskDescriptor::TaskDescriptor (int {\em id})}}
\label{classTaskDescriptor_3955ac839d8e98407cde0db5b86347f4}


Constructor specifying current \hyperlink{classTaskDescriptor}{TaskDescriptor} ID. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]current \hyperlink{classTaskDescriptor}{TaskDescriptor} ID. \end{description}
\end{Desc}
\hypertarget{classTaskDescriptor_cf252871f2ec98b6bc29e48c73f3fbf9}{
\index{TaskDescriptor@{TaskDescriptor}!TaskDescriptor@{TaskDescriptor}}
\index{TaskDescriptor@{TaskDescriptor}!TaskDescriptor@{TaskDescriptor}}
\subsubsection[TaskDescriptor]{\setlength{\rightskip}{0pt plus 5cm}TaskDescriptor::TaskDescriptor (int {\em ID}, \/  {\bf TaskTYPE} {\em type}, \/  const std::string \& {\em cmd}, \/  const std::string \& {\em link})}}
\label{classTaskDescriptor_cf252871f2ec98b6bc29e48c73f3fbf9}


Constructor specifying current \hyperlink{classTaskDescriptor}{TaskDescriptor}, TaskTYPE , Command and Link. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em ID}]current \hyperlink{classTaskDescriptor}{TaskDescriptor} ID \item[{\em type}]TaskDescriptor's type, according to TaskTYPE enumeration. \item[{\em cmd}]TaskDescriptor's command to execute. \item[{\em link}]TaskDescriptor's link to the executable in the system. \end{description}
\end{Desc}


\subsection{Member Function Documentation}
\hypertarget{classTaskDescriptor_e033e3804ac2ca8c2f5f740d75f36b92}{
\index{TaskDescriptor@{TaskDescriptor}!getID@{getID}}
\index{getID@{getID}!TaskDescriptor@{TaskDescriptor}}
\subsubsection[getID]{\setlength{\rightskip}{0pt plus 5cm}int TaskDescriptor::getID (void) const}}
\label{classTaskDescriptor_e033e3804ac2ca8c2f5f740d75f36b92}


Returns current \hyperlink{classTaskDescriptor}{TaskDescriptor} id. 

\begin{Desc}
\item[Returns:]current \hyperlink{classTaskDescriptor}{TaskDescriptor} id. \end{Desc}
\hypertarget{classTaskDescriptor_5c94900bc6fa285522306d1615af4dc7}{
\index{TaskDescriptor@{TaskDescriptor}!setID@{setID}}
\index{setID@{setID}!TaskDescriptor@{TaskDescriptor}}
\subsubsection[setID]{\setlength{\rightskip}{0pt plus 5cm}void TaskDescriptor::setID (int {\em val})}}
\label{classTaskDescriptor_5c94900bc6fa285522306d1615af4dc7}


Set current \hyperlink{classTaskDescriptor}{TaskDescriptor} id. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em val}]current \hyperlink{classTaskDescriptor}{TaskDescriptor} id. \end{description}
\end{Desc}
\hypertarget{classTaskDescriptor_c86a5527bb87c34d3e55ebbf8306d2df}{
\index{TaskDescriptor@{TaskDescriptor}!getType@{getType}}
\index{getType@{getType}!TaskDescriptor@{TaskDescriptor}}
\subsubsection[getType]{\setlength{\rightskip}{0pt plus 5cm}{\bf TaskTYPE} TaskDescriptor::getType (void) const}}
\label{classTaskDescriptor_c86a5527bb87c34d3e55ebbf8306d2df}


Returns current \hyperlink{classTaskDescriptor}{TaskDescriptor} type according to TaskTYPE enum. 

\begin{Desc}
\item[Returns:]current \hyperlink{classTaskDescriptor}{TaskDescriptor} type. \end{Desc}
\hypertarget{classTaskDescriptor_42595b9d380f89f921a1007769803af3}{
\index{TaskDescriptor@{TaskDescriptor}!setType@{setType}}
\index{setType@{setType}!TaskDescriptor@{TaskDescriptor}}
\subsubsection[setType]{\setlength{\rightskip}{0pt plus 5cm}void TaskDescriptor::setType ({\bf TaskTYPE} {\em val})}}
\label{classTaskDescriptor_42595b9d380f89f921a1007769803af3}


Set current \hyperlink{classTaskDescriptor}{TaskDescriptor} type to the provided one, according to TaskTYPE enum. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em val}]the provided TaskTYPE. \end{description}
\end{Desc}
\hypertarget{classTaskDescriptor_8f3df5c3e6e0ca602956c4b0c74dc930}{
\index{TaskDescriptor@{TaskDescriptor}!getCommand@{getCommand}}
\index{getCommand@{getCommand}!TaskDescriptor@{TaskDescriptor}}
\subsubsection[getCommand]{\setlength{\rightskip}{0pt plus 5cm}const std::string \& TaskDescriptor::getCommand (void) const}}
\label{classTaskDescriptor_8f3df5c3e6e0ca602956c4b0c74dc930}


Returns current \hyperlink{classTaskDescriptor}{TaskDescriptor} command string. 

\begin{Desc}
\item[Returns:]current \hyperlink{classTaskDescriptor}{TaskDescriptor} command. \end{Desc}
\hypertarget{classTaskDescriptor_f965e5b1bb137263e37cd97b0fff4e2b}{
\index{TaskDescriptor@{TaskDescriptor}!setCommand@{setCommand}}
\index{setCommand@{setCommand}!TaskDescriptor@{TaskDescriptor}}
\subsubsection[setCommand]{\setlength{\rightskip}{0pt plus 5cm}void TaskDescriptor::setCommand (const std::string \& {\em val})}}
\label{classTaskDescriptor_f965e5b1bb137263e37cd97b0fff4e2b}


Set current \hyperlink{classTaskDescriptor}{TaskDescriptor} command string to the provided one. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em val}]the provided string. \end{description}
\end{Desc}
\hypertarget{classTaskDescriptor_3ab852fcc3cfd982b9e3136258be0084}{
\index{TaskDescriptor@{TaskDescriptor}!getLink@{getLink}}
\index{getLink@{getLink}!TaskDescriptor@{TaskDescriptor}}
\subsubsection[getLink]{\setlength{\rightskip}{0pt plus 5cm}const std::string \& TaskDescriptor::getLink (void) const}}
\label{classTaskDescriptor_3ab852fcc3cfd982b9e3136258be0084}


Returns current \hyperlink{classTaskDescriptor}{TaskDescriptor} link string. 

\begin{Desc}
\item[Returns:]current \hyperlink{classTaskDescriptor}{TaskDescriptor} link. \end{Desc}
\hypertarget{classTaskDescriptor_6a5bdc4ea91a1281a815406484a6e80b}{
\index{TaskDescriptor@{TaskDescriptor}!setLink@{setLink}}
\index{setLink@{setLink}!TaskDescriptor@{TaskDescriptor}}
\subsubsection[setLink]{\setlength{\rightskip}{0pt plus 5cm}void TaskDescriptor::setLink (const std::string \& {\em val})}}
\label{classTaskDescriptor_6a5bdc4ea91a1281a815406484a6e80b}


Set current \hyperlink{classTaskDescriptor}{TaskDescriptor} link string to the provided one. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em val}]the provided string. \end{description}
\end{Desc}


The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
\hyperlink{taskdescriptor_8h}{taskdescriptor.h}\item 
\hyperlink{taskdescriptor_8cpp}{taskdescriptor.cpp}\end{CompactItemize}
